package com.lvm.app.api.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhouxf
 * @since 2021-03-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("lvm_key_rec")
@ApiModel(value="LvmKeyRec对象", description="")
public class LvmKeyRec extends Model<LvmKeyRec> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

        /**
        * 键值名称
        */
    @ApiModelProperty(value = "键值名称")
    private String keyVal;

    @ApiModelProperty(value = "键值名称")
    private String relKeys;

        /**
        * 先关数据数量
        */
    @ApiModelProperty(value = "先关数据数量")
    private Long number;

        /**
        * 创建时间
        */
    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

        /**
        * 更新时间
        */
    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime modifyTime;
}